<template>
    {{count}}
    <button @click="add">+</button>
</template>

<script setup lang="ts">
    import {ref} from 'vue';

    const count = ref(3);

    const add = () => {
        count.value += 1;
    }

</script>
